package top.zhuyougu.service;

import top.zhuyougu.common.ResponseResult;
import top.zhuyougu.dto.CommentDTO;
import top.zhuyougu.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author 猪油骨
 * @since 2022-12-10 01:15:43
 */
public interface CommentService extends IService<Comment> {
    ResponseResult listComment(String keywords);

    ResponseResult deleteBatch(List<Integer> ids);



    //    ------web端方法开始------
    ResponseResult comments(Long articleId);

    ResponseResult addComment(CommentDTO comment);

    ResponseResult repliesByComId(Integer commentId);
}
